Automattic\Jetpack\Dashboard_Customizations\Masterbar D

Total Complexity 130
Dependencies 13
Dependents 0
Total lines 1,501
Lines of code 1,037
Logical lines of code 297
Comment lines 288
Methods 26
Properties 13

Methods 26

Method Rating Maintainability Complexity Lines of code
add_my_sites_submenu()
D
13
34 489
add_me_submenu()
A
30 6 160
__construct()
A
48 13 28
init()
A
45 11 42
get_jetpack_locale()
A
57 8 17
install_locale()
S
58 7 15
add_styles_and_scripts()
S
46 5 42
get_locale()
S
58 6 15
build_wp_admin_interface_bar()
S
53 4 25
add_write_button()
S
53 4 22
build_wpcom_masterbar()
S
59 4 15
maybe_logout_user_from_wpcom()
S
62 4 11
add_my_home_submenu_item()
S
58 3 16
replace_core_masterbar()
S
62 3 12
add_notifications()
S
53 2 24
remove_core_styles()
S
72 3 5
wpcom_adminbar_add_secondary_groups()
S
55 1 27
clear_core_masterbar()
S
74 2 5
wpcom_static_url()
S
68 2 7
replace_language_dropdown()
S
60 1 15
admin_body_class()
S
67 2 7
add_reader_submenu()
S
62 1 13
add_wpcom_profile_link()
S
62 1 12
create_menu_item_pair()
S
67 1 7
create_menu_item_anchor()
S
77 1 3
hide_language_dropdown()
S
80 1 3